
package com.abbh.libcommunity.model ;

import java.util.HashSet;
/**
 *
 *
 * @hibernate.class
 *     table="COMMUNITY_TYPE"
 *
 */
public class CommunityType {

    
    
    // <editor-fold defaultstate="collapsed" desc=" 1-N  Relation to Collection /*com.abbh.libcommunity.model.Community*/ communitys ">
    private java.util.Collection communitys = new HashSet();
    
    /**
     * @hibernate.set
     *     role="communitys"
     * @hibernate.collection-key
     *     column="COMMUNITY_TYPE_ID"
     * @hibernate.collection-one-to-many
     *     class="com.abbh.libcommunity.model.Community"
     * @hibernate.set
     *  cascade="all"
     *  lazy="true"
     */
    public java.util.Collection getCommunitys() {
        return this.communitys;
    }
    
    public void setCommunitys(java.util.Collection communitys) {
        this.communitys = communitys;
    }
    // </editor-fold>




    
  

    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String name ">
    private String name;
    /**
     *   @hibernate.property
     *     column="NAME"
     *   @hibernate.column
     *     name="NAME"
     */
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String description ">
    private String description;
    /**
     *   @hibernate.property
     *     column="DESCRIPTION"
     *   @hibernate.column
     *     name="DESCRIPTION"
     */
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   java.sql.Date creationDate ">
    private java.sql.Date creationDate;
    /**
     *   @hibernate.property
     *     column="CREATION_DATE"
     *   @hibernate.column
     *     name="CREATION_DATE"
     */
    public java.sql.Date getCreationDate() {
        return creationDate;
    }
    public void setCreationDate(java.sql.Date creationDate) {
        this.creationDate = creationDate;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String createdUser ">
    private String createdUser;
    /**
     *   @hibernate.property
     *     column="CREATED_USER"
     *   @hibernate.column
     *     name="CREATED_USER"
     */
    public String getCreatedUser() {
        return createdUser;
    }
    public void setCreatedUser(String createdUser) {
        this.createdUser = createdUser;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   java.sql.Date lastModifiedDate ">
    private java.sql.Date lastModifiedDate;
    /**
     *   @hibernate.property
     *     column="LAST_MODIFIED_DATE"
     *   @hibernate.column
     *     name="LAST_MODIFIED_DATE"
     */
    public java.sql.Date getLastModifiedDate() {
        return lastModifiedDate;
    }
    public void setLastModifiedDate(java.sql.Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String lastModifiedUser ">
    private String lastModifiedUser;
    /**
     *   @hibernate.property
     *     column="LAST_MODIFIED_USER"
     *   @hibernate.column
     *     name="LAST_MODIFIED_USER"
     */
    public String getLastModifiedUser() {
        return lastModifiedUser;
    }
    public void setLastModifiedUser(String lastModifiedUser) {
        this.lastModifiedUser = lastModifiedUser;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" PrimaryKey:   Integer id ">
    private Integer id;
    /**
     *   @hibernate.id
     *     generator-class="increment"
     */
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    //</editor-fold>
    

}